package com.linln.modules.withdrawal.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.withdrawal.domain.Withdrawal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @author : pengliang
 * @version V1.0
 * @Project: timo
 * @Package com.linln.modules.withdrawal.repository
 * @Descriptio /**
 * @Project: timo
 * @Package com.linln.modules.withdrawal.repository
 * @Description: TODO
 * @date Date : 2020年12月30日 10:50
 */
@Mapper
@Component
public interface WithdrawalMapper extends BaseMapper<Withdrawal> {

    //获取提现记录
    List<Withdrawal> getWithdrawalList(@Param("shopId") String shopId, @Param("status") Integer status);
    //获取提现详细信息记录
    List<Withdrawal> getWithdrawalInfoList(@Param("shopName") String shopName, @Param("phone") String phone, @Param("status") Integer status);
    //获取提现详细信息
    Withdrawal getWithdrawalInfo(@Param("withdrawalId")String withdrawalId);
}
